package com.qf.smsplatform.mapper;
/*2021/10/29*/



import com.qf.smsplatform.pojo.TNotify;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

/**
 * @YuTao
 */
public interface TNotifyMapper {

    List<TNotify> selectTNotify();

    void updateNOtify(TNotify notify);

    @Insert("insert into t_notify(tag,desp,notify_state,cache_state) values (#{tag},#{desp},#{notifyState},#{cacheState})")
    void insertTNotify(TNotify notify);
    @Delete("delete from t_notify where tag=#{tag}")
    void deleteTNotify(String tag);
}
